<?php

namespace backend\models;

use Yii;

/**
 * This is the model class for table "project_pre_evaluation_value_evaluation".
 *
 * @property string $id
 * @property string $project_id
 * @property string $reference
 * @property string $conservation
 * @property string $radical
 * @property string $recall
 * @property string $created_at
 * @property integer $lock_user
 * @property string $lock_timestamp
 */
class ProjectPreEvaluationValueEvaluation extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'project_pre_evaluation_value_evaluation';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['project_id', 'reference', 'conservation', 'radical', 'recall'], 'required'],
            [['project_id', 'lock_user'], 'integer'],
            [['recall'], 'string'],
            [['created_at'], 'safe'],
            [['reference', 'conservation', 'radical', 'lock_timestamp'], 'string', 'max' => 255],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'project_id' => 'Project ID',
            'reference' => 'Reference',
            'conservation' => 'Conservation',
            'radical' => 'Radical',
            'recall' => 'Recall',
            'created_at' => 'Created At',
            'lock_user' => 'Lock User',
            'lock_timestamp' => 'Lock Timestamp',
        ];
    }
}
